package com.niubility.entity;

public class SearchMain {
    private String index = "niubility";
    private String type = "searchMain";
    private int id;
    private String name;
    private String maix;

    public SearchMain() {
    }

    public SearchMain( int id, String name, String maix) {
        this.id = id;
        this.name = name;
        this.maix = maix;
    }
    public SearchMain(String index, String type, int id, String name, String maix) {
        this.index = index;
        this.type = type;
        this.id = id;
        this.name = name;
        this.maix = maix;
    }

    public String getIndex() {
        return index;
    }
    public void setIndex(String index) {
        this.index = index;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMaix() {
        return maix;
    }

    public void setMaix(String maix) {
        this.maix = maix;
    }

    @Override
    public String toString() {
        return "SearchMain{" +
                "index='" + index + '\'' +
                ", type='" + type + '\'' +
                ", id=" + id +
                ", name='" + name + '\'' +
                ", maix='" + maix + '\'' +
                '}';
    }
}
